package com.mmall.controller.test;

import com.mmall.pojo.DeptInfo;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import org.codehaus.jackson.map.annotate.JsonSerialize;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by Neo on 3/9/2023.
 */
@JsonSerialize(include =  JsonSerialize.Inclusion.NON_NULL)
@Setter
@Getter
@NoArgsConstructor
@AllArgsConstructor
public class ListInfo implements Serializable {

    private int total;

    private List<DeptInfo> list;
}
